home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1 / Nebula One.iso / Misc / ClipNotes.1.0 / Source / Application_ext.m < prev    next >
Text File  |  1995-06-12  |  899b  |  42 lines

  1. /* Application_ext.m                 
  2.  *
  3.  * This object controls the data of a beaker (molecules, cameras, groups etc.)
  4.  * It is the main document of BeakerBoy and controls everything from loading to
  5.  * setting up the browser which does most of the other work.
  6.  *
  7.  * For interface-info see the header file. The comments in this file mostly
  8.  * cover only the real implementation details.
  9.  *
  10.  * Written by:         Thomas Engel
  11.  * Created:            23.10.1993 (Copyleft)
  12.  * Last modified:     12.11.1994
  13.  */
  14.  
  15.  
  16. #import "Application_ext.h"
  17.  
  18. @implementation Application(Ext)
  19.  
  20. - (BOOL)knowsDefaultValue:(const char *)defName
  21. {
  22.     if( [NXApp defaultValue:defName] != NULL ) return YES;
  23.     return NO;
  24. }
  25.  
  26. - (BOOL)didAutolaunch
  27. {
  28.     if( ( [NXApp defaultBoolValue:"NXAutoLaunch"] == YES ) ||
  29.         ( [NXApp defaultBoolValue:"NXServiceLaunch"] == YES ) )
  30.         return YES;
  31.  
  32.     return NO;
  33. }
  34.  
  35. @end
  36.  
  37. /*
  38.  * History: 13.01.95 Buh
  39.  *            
  40.  *
  41.  * Bugs: - ...
  42.  */